package com.alex.j2se.collection;

import java.util.PriorityQueue;

/**
 * 测试queue，包括PriorityQueue、
 * ConcurrentLinkedQueue、ArrayBlockingQueue、DelayQueue、LinkedBlockingDeque
 * @author alex
 *
 */
public class QueueTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		priorityQueueTest();
	}
	
	private static void priorityQueueTest() {
		PriorityQueue<String> queue = new PriorityQueue<String>();
		queue.add("a");
		queue.add("b");
		System.out.println(queue);
	}
}
